package com.l2jserver.gameserver.scripting.scriptengine.events;

import com.l2jserver.gameserver.model.actor.instance.L2PcInstance;
import com.l2jserver.gameserver.network.SystemMessageId;
import com.l2jserver.gameserver.scripting.scriptengine.events.impl.L2Event;

/**
 * @author UnAfraid
 */
public class DlgAnswerEvent implements L2Event
{
	private L2PcInstance _activeChar;
	private int _messageId;
	private int _answer;
	private int _requesterId;
	
	public void setActiveChar(L2PcInstance activeChar)
	{
		_activeChar = activeChar;
	}
	
	public L2PcInstance getActiveChar()
	{
		return _activeChar;
	}
	
	public void setMessageId(int messageId)
	{
		_messageId = messageId;
	}
	
	public int getMessageId()
	{
		return _messageId;
	}
	
	public SystemMessageId getSystemMessageId()
	{
		return SystemMessageId.getSystemMessageId(_messageId);
	}
	
	public void setAnswer(int answer)
	{
		_answer = answer;
	}
	
	public int getAnswer()
	{
		return _answer;
	}
	
	public void setRequesterId(int req)
	{
		_requesterId = req;
	}
	
	public int getRequesterId()
	{
		return _requesterId;
	}
}
